﻿/* 公共 */

html, body
{
    overflow: hidden;
}

#head  
{
    background-color: #435454; color: White; height: 61px;
       min-width:1170px;
}
#MainContent
{
    overflow: auto;
    padding: 10px; 
    position:relative;
}

div.modal-backdrop{
  opacity: 0.3;
  filter: alpha(opacity=30);
}

/* 左侧栏 */
div#leftnavdiv
{
    float: left;
    width: 270px;
    background-color: #435454; 
}

div#iddiv
{
    height: 30px;
    line-height: 30px;
    width: 270px;
    text-align: center;
    font-size: 13px;
    font-weight: bold;
    color: #fff;
}


#leftnavdiv h3
{
    height: 40px;
    line-height: 40px;
    background-color: #24494b;
    color: #b2df00;
    text-align: center;
    width: 270px;
    font-size: 15px;
    font-weight: bolder;
    border-bottom: 1px solid #303B3B;
    cursor: pointer;
}

#leftnavdiv ul li
{
    height: 35px;
    line-height: 35px;
    border-bottom: 1px solid #303B3B;
    margin: 0px;
  /*  position: relative;*/
    width: 180px;
    font-size: 13px;
    font-weight: bold;
    padding-left: 65px;
    cursor: pointer;
    color: #fff;
}

.dv-nav
{
    overflow:auto;
    margin:0px;
    padding:0px;
    }

#leftnavdiv ul li:hover,#leftnavdiv ul li.active
{
    height: 35px;
    background-color: #59704a;
}

#leftnavdiv ul li a, #leftnavdiv ul li a a:hover
{
    margin-left: 0px;
    color: White;
    padding: 0px;
    background-color: transparent;
    width: 180px;
}

#leftnavdiv ul li.nav-header
{
    width: 180px;
    font-size: 15px;
    color: #b2df00;
    font-weight: bolder;
    padding-left: 55px;
    cursor: pointer; 
}

#leftnavdiv ul li.nav-header img
{
    vertical-align: middle;
    cursor: pointer; 
    top: 10px;
    right: 20px;
}

/*表单*/

form{ float:left;}
form label{ display:inline; 
    margin-left:5px; margin-right:5px
}

.form-search, .form-search form
{
    float:left;display:block; margin:0px; width:98%;
}


.btn-primary
{
    background: #00aebe !important;
    background-color: #00aebe !important;
}
 
.btn-cancel
{
    background: #c9ea61 !important;
    background-color: #c9ea61 !important;
}

form legend
{
    border-bottom-width: 0px; width:90%;
    color: #00AEBE;
}

input[type="radio"],input[type="checkbox"]
{ 
    width:auto !important;
margin: 0px 4px 4px 4px;

    }

.form-search input[type='text'].datetime { width:85px}

.form-inline td label input
{
     width:auto;
} 

textarea
{
    width: 98%;
}

form input[type="text"], input[type="password"]
{ 
    height:15px;
}

span.required
{
    color: Red;
}

/* 其他定义*/
#MainContent .SearchContent
{
    width:100%; 
    float:left; 
    min-height:450px;
    min-width:600px;
} 

.SearchContent .table td,.SearchContent .table th
{
    padding:8px 0px 8px 2px;
}
    
.table tbody td .btn
{
     margin-bottom:1px;
}

/* 分页 */
.pagedlist
{
    height: 36px;
    margin: 18px 0;
}

.pagedlist a
{
    float: left;
    padding: 0 14px;
    line-height: 34px;
    text-decoration: none;
    border: 1px solid #ddd;
    border-left-width: 0;
}

.pagedlist a:hover, .pagedlist .active
{
    color: #999999;
    cursor: default;
    background-color: #f5f5f5;
}

.pagedlist .disabled
{
    color: #999999;
    cursor: default;
    background-color: transparent;
}


.pagedlist a:first-child {
  border-left-width: 1px;
  -webkit-border-radius: 3px 0 0 3px;
     -moz-border-radius: 3px 0 0 3px;
          border-radius: 3px 0 0 3px;
}

.pagedlist a:last-child  {
  -webkit-border-radius: 0 3px 3px 0;
     -moz-border-radius: 0 3px 3px 0;
          border-radius: 0 3px 3px 0;
}
 
.alertModal
{
    left:50% !important;
    top:50% !important;
    width:500px !important; 
 }
 
 .winModal
{
    left:40% !important;
    top:40% !important;
    width:800px !important;
}

.winModal .modal-body
{
    min-height:200px;
}
    
.winModal form{ margin-bottom:0px;}
 .modal-body 
 {    
         position:relative;
}

.well { 
    padding: 10px !important;
    margin-bottom: 10px !important;
}

#loading{position:absolute;width:300px;top:30%;left:50%;margin-left:-150px;text-align:center;padding:7px 0 0 0;font:bold 11px Arial, Helvetica, sans-serif;}

#dvnotice{position:absolute; min-width:500px; top:60px;left:280px;text-align:center;padding:7px 0 0 0;font:bold 11px Arial, Helvetica, sans-serif;}

 /* Styles for validation helpers
-----------------------------------------------------------*/

.error, .field-validation-error
{
    color: #ff0000;     
    display: block;

}


.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid
{
    display: none;
}

input.field-validation-error
{ 
    background-repeat: no-repeat;
    display: block;
    width: 22px;
    height: 22px;
    margin: 0;
    padding: 0;
    vertical-align: top;
}


/* Styles for editor and display helpers
----------------------------------------------------------*/
.display-label, .editor-label
{    
   /* margin: 0.5em 0 0 0;*/
    margin: 0 0 0 0;
    color: #099;
    font-weight: bold;
    font-size: 12px;
    float: left;
    
    display:block;
    width:98%;
    padding-right:0px;
    padding-left:0px;
    padding-top:5px; 
}
.display-label label, .editor-label label
{
    /*margin: 1em 0 0 0;*/
    color: #099;
    font-weight: bold;
    font-size: 12px;
    padding-top:5px;
    display:inline;
    line-height:20px;
}

.display-field,.editor-field
{
    width:98%;
    display: block;
}
.display-field
{
    border-width: 1px;
    border-style: dotted;
    border-color: Gray;
    margin-right: 5px; 
    line-height: 25px;
    height: 25px;
    overflow: hidden;
}

.display-field label
{
    line-height: 25px;
}

.editor-field
{
    margin: 0.5em 0 0 0;
} 

/*换行输出*/
.displayMulField
{
    border-width: 1px;
    border-style: dotted;
    border-color: Gray;
    margin-right: 5px;
    width: 243px;
    display: block;
    overflow: hidden; /*line-height:25px;      height:25px;*/
    word-break: break-all;
    word-wrap: break-word;
}


/*layout*/
.editor-field input[type='text'],.editor-field textarea
{    
    float: left;
    padding-right:0px;
    padding-left:0px;
    width:100%;
}
.editor-field select
{
    float: left;
    padding-right:0px;
    padding-left:0px;
    height:27px;
    line-height:27px;
    width:100%;
}

.layout-onecolumn,.layout-twocolumn,.layout-threecolumn
{
    float: left;
    height:75px;
}

.layout-onecolumn
{
    width:250px;
}
 
.layout-onecolumn input.withimg
{
    width: 160px;
}

.layout-twocolumn
{
    width: 500px;
}

.layout-twocolumn input.withimg
{
    width: 290px;
}

.layout-threecolumn
{
    width: 750px;
} 

.clear
{
    clear: both;
}

/*Form 表单*/
.input-append input[type="text"].textsearch{ width:215px}

.layout-twocolumn .display-field,.layout-twocolumn .editor-field
{
    width:99%;
}
.layout-threecolumn .display-field,.layout-threecolumn .editor-field
{
    width:99.5%;
}
form .layout-onecolumn
{
      width:250px;
}

.model-display .layout-onecolumn,.model-display .layout-twocolumn,.model-display .layout-threecolumn
{ height:55px;}

/*搜索 表单*/
.form-search .layout-onecolumn { height:40px; width:290px }
.form-search .layout-twocolumn { height:40px; width:600px }
.form-search .layout-onecolumn .editor-label,.form-search .layout-onecolumn .display-label
{ 
    margin: 0.5em 0 0 0;
    display:inline;
    width:100px;
}
.form-search .layout-onecolumn .editor-field
{
    display:inline;
    width:180px;
    float:left;
} 

.advanced-search{ display:none}


dd
{
     padding-top:5px;
     padding-bottom:5px;
     float: left;
    width: 99%;
}

dd label
{
    width: 140px;
    float: left;
    }